package com.ai.notices.common.vo;

import com.fasterxml.jackson.databind.ObjectMapper;

public class BaseVo implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 107593624225904617L;
	
	private Integer pageNo = 1;
	
	private Integer pageSize = 10;
	
	public Integer getPageNo() {
		return pageNo;
	}
	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	public String toString() {
		try {
			return new ObjectMapper().writeValueAsString(this);
		} catch (Exception e) {
		}
		return super.toString();
	}
}
